package com.sun.test.task;

import lombok.extern.slf4j.Slf4j;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import org.springframework.scheduling.quartz.QuartzJobBean;

/**
 * @author zhangquanwei
 * @version 1.0
 * @date 2024-12-18 17:43
 */
@Slf4j
public class QuartzTask extends QuartzJobBean {


    @Override
    protected void executeInternal(JobExecutionContext context) throws JobExecutionException {
        log.info("定时任务被触发！进行业务处理");

    }
}
